package org.ywf.web.client;

import org.ywf.agent.consumer.TwoHttpConsumer;
import org.ywf.common.converter.NewsConverter;
import org.ywf.common.entity.RequestData;
import org.ywf.common.entity.ResponseData;
import org.ywf.common.request.NewsReq;
import org.ywf.framework.annotation.ProxyClient;
import org.ywf.framework.annotation.ProxyMapping;

import java.util.List;


@ProxyClient(consumerClass = TwoHttpConsumer.class)
public interface UserMapper {

    @ProxyMapping(serviceCode = "DCS001",convert = NewsConverter.class)
    ResponseData<List> selectById(RequestData<NewsReq> request);

}
